let Mock=require("mockjs");

let movies=Mock.mock({
    "movies|10-15":[
        {
            "ishot|1-3":1,
            "name":"@ctitle",
            "ename":"@word()",//随机英文名
            "type":'@pick(["动作","冒险","科幻","犯罪","动画","爱情","悬疑",])',
            "area":'@pick(["中国","日本","韩国","美国","欧洲","印度","泰国",])',
            "time|90-180":1,
            "upDate":'@date("yyyy-MM-dd")',
            "score|1-10":1,
            "count":"@natural",
            "intro":"@word()",
            "indexImage":"@image()",
            "director": [
                {
                    "name": "@cname",//导演名
                    // "image": "@image()",//导演图片
                }
            ],

            "actor": [
                {
                    "name":"@cname", //演员名
                //    "filmName":"@cname",// 饰演名
                //     "image": "@image()",//演员图片
                }
            ],

            "images": [
                {
                    "image":"@image()",
                }
            ],
            
           

        }
    ]
}).movies;
module.exports=movies;